<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class Order extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //增加order支付类型
        $sql = "
        ALTER TABLE `order` ADD `pay_type` VARCHAR(20)  NULL COMMENT '支付类型' AFTER `is_remind`;
        ALTER TABLE `order` ADD `pay_num` VARCHAR(255)  NULL AFTER `pay_type`;
        ALTER TABLE `order` ADD `pay_time` DATETIME  NULL AFTER `pay_num`;
        ";

    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
